<form id="sForm">
	<input type="hidden" name="frm" value="{$_act.frm}" />
	<input type="hidden" name="mdl" value="{$_act.mdl}" />
	<input type="hidden" name="do" value="{$_act.do}" />

	<input type="hidden" name="catid" id="catid" value="{$get.catid}" />
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="table_search">
		<tbody>
			<tr>
				<th>商品名称：</th>
				<td><input type="text" name="goodsname" value="{$get.goodsname}" class="input" style="width:240px;" /></td>
				<th>{$l.price}：</th>
				<td><input type="text" name="price_min" value="{$get.price_min}" class="input" style="width:64px;" />
					-
					<input type="text" name="price_max" value="{$get.price_max}" class="input" style="width:64px;" /></td>
				<td class="w100p"></td>
				<td><input type="submit" name="btnSearch" value="{$l.search}" class="button" /></td>
				<td><input type="submit" name="btnExport" value="导出" class="button" /></td>
			</tr>
		</tbody>
	</table>
	<br />
	<div class="form_data_cut">
		<div class="right">
			<!-- 操作链接 START -->
			<a href="./m.php?frm=goods&mdl=goods&do=edit" target="eBody">添加</a>
			<!-- 操作链接 END -->
			<div class="clear"></div>
		</div>
		<!-- 排序字段 START -->
		{include file="_major_sort.lbi"}
		<!-- 排序字段 END -->
		<div class="clear"></div>
	</div>
</form>
<div class="space10"><!-- 间隔 --></div>
<form action="./m.php?frm=action&mdl=index" name="lForm" id="lForm" method="post" target="eBody">
	<input type="hidden" name="formAction" value="" />
	<input type="hidden" name="goback" value="frlist" />
	<input type="submit" id="btnSubmit" class="hide" />
	<table align="center" class="data_form">
		<caption>
		{$_page.caption}
		</caption>
		<thead>
			<tr>
				<th style="width:100px;">商品图片</th>
				<th>商品名称</th>
				<th style="width:120px;">动态信息</th>
				<th style="width:60px;">单价</th>
				<th style="width:70px;">库存</th>
			</tr>
		</thead>
		<tbody>
		
			{foreach from=$list item=row}
			<tr>
				<td class="tcenter"><a href="{$row.goodsinfo.url}" title="{$row.goodsinfo.name}<br />
		--------<br />
		重量：{$row.goodsinfo.fweight}{$row.goodsinfo.weightunit}<br />
		单价：￥{$row.goodsinfo.price}" class="open_frame poshytip"><img src="{$_s.up_dir}thumb/92_70/{$row.goodsinfo.cover}" /></a></td>
				<td><a href="{$row.goodsinfo.url}">{$row.goodsname}</a><br />
					<i class="stars-gray"><i class="stars-gold" style="width:{$row.trends.stars}px;"></i></i><br />
					<a href="./m.php?frm=user&mdl=user&do=edit&userid={$row.userid}" class="open_frame">{$row.username}</a>
					{$row.addtime}</td>
				<td>浏览：{$row.trends.views}<br />
					售出：{$row.trends.sales}<br />
					评价：{$row.trends.comments}人<br />
					好评：{$row.trends.count_good}人</td>
				<td>{if $row.price != $row.goodsinfo.price}<s>{$row.price}</s><br />{/if}
					<b>{$row.goodsinfo.price}</b></td>
				<td>{$row.store}</td>
			</tr>
			{/foreach}
		</tbody>
		
	</table>
</form>

	<!--  -->
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<tfoot id="cmd">
			<tr>
				<td><div class="btns"><!--<select class="select"><option></option>-->
						<!--{if $_g._mp_goods_favorite_del}-->
						<button name="formAction" value="{$_act.frm}.favorite_del" class="button">{$l.del}</button>
						<!--{/if}--><!--</select>-->
					</div>
					{include file="./_pagelist.tpl"}</td>
			</tr>
		</tfoot>
	</table>


<div class="space5"><!-- 间隔 --></div>
<div class="data_memo"></div>

<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$_s.js_dir}m/goods.goods.js"></script>
<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	{literal}
	jQuery(function($){
		$('#ui_menu').menu();
	});
	{/literal}
-->
</script>

